
# while True:
#     num = int(input('请输入数字:'))
#     if num>66:
#         print('猜大了')
#     elif num<66:
#         print('猜小了')
#     else:
#         print('正确')
#         break
#####################################################
# num = 1
# while True:
#     if num<4:
#         user_num = int(input('请输入数字：'))
#         if user_num>66:
#             print('猜大了')
#         elif user_num<66:
#             print('猜小了')
#         else:
#             print('正确')
#             break
#     elif num==4:
#         print('大笨蛋')
#         break
#     num+=1
#####################################################
# import time
# from datetime import datetime
# while True:
#     old = input('请输入时间：')
#     # old = '06/07/2020 09:34:33'
#     old_time = datetime.strptime(old,'%d/%m/%Y %H:%M:%S')
#     # print(old_time)
#     now = datetime.now()
#     print(now-old_time)
#####################################################
# num = 1
# sum = 0
# while num < 101:
#     sum += num
#     num += 1
# print(sum)
# #####################################################
# num = 1
# sum = 0
# while num < 100:
#     if num % 2 == 0:
#         sum -= num
#     elif num % 2 == 1:
#         sum += num
#     num+=1
# print(sum)
# #####################################################
# num = 3
# while num>=0:
#     user_loging=input('请输入用户名：')
#     if user_loging == 'xiaobai':
#         print('登录成功')
#         break
#     elif num==0:
#         print('您没有机会了')
#     else:
#         print(f'登录失败，您还有{num}次机会')
#     num-=1
# #####################################################
